#!/bin/echo Warning:this library should be sourced!
# ostype()
ostype() {
	osname=$(uname -s)
	OSTYPE="UNKNOW"
	case $osname in
		"FreeBSD" ) OSTYPE="FREEBSD"
			;;
		"SunOS" ) OSTYPE="SUNOS"
			;;
		"Linux" ) OSTYPE="LINUX"
			;;
	esac
	return 0
}